import Mock from 'mockjs'

let random = Mock.Random
export default {
	articleLikeAdd:()=>{
		return {
			state: 200,
			method: 'post',
			code: 10000,
			requestId: random.string('lower', 15),
			path: '/like/article',
			message: '成功',
			timestamp: random.now('yyyy-MM-dd HH:mm:ss.SSSZ'),
			data: {
				number: random.increment(10)
			}
		}
	},
	bookLikeAdd:()=>{
		return {
			state: 200,
			method: 'post',
			code: 10000,
			requestId: random.string('lower', 15),
			path: '/like/book',
			message: '成功',
			timestamp: random.now('yyyy-MM-dd HH:mm:ss.SSSZ'),
			data: {
				number: random.increment(10)
			}
		}
	},
	noteLikeAdd:()=>{
		return {
			state: 200,
			method: 'post',
			code: 10000,
			requestId: random.string('lower', 15),
			path: '/like/note',
			message: '成功',
			timestamp: random.now('yyyy-MM-dd HH:mm:ss.SSSZ'),
			data: {
				number: random.increment(10)
			}
		}
	}
}